//
//  JMPickerSelectionView.h
//  NewiOSProject
//
//  Created by li on 2023/9/6.
//  Copyright © 2023 范智渊. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JMAuthCellModel.h"

NS_ASSUME_NONNULL_BEGIN
@class JMPickerSelectionModel, PaddingView;
@interface JMPickerSelectionView : UIView
@property(nonatomic, strong, nonnull) PaddingView *searchPaddingView;
@property(nonatomic, strong, nonnull) UITextField *searchTextField;
@property(nonatomic, strong, nonnull) JMAuthCellModel *authModel;

@property(nonatomic, strong, nonnull) NSMutableArray<JMPickerSelectionModel *> *list;
@property(nonatomic, strong, nonnull) NSMutableArray<JMPickerSelectionModel *> *filteredArray;

///0出生日期
///1教育程度
///2婚姻状况
///3工作信息
///4月收入
///5家属关系
///6银行信息

@property(nonatomic, assign) NSInteger type;
@property(nonatomic, copy, nullable) void(^confirmCallback)(  JMPickerSelectionModel * _Nullable model);

@property(nonatomic, copy, nullable) void(^confirmDateCallback)(  NSDate * _Nullable date);

@end

NS_ASSUME_NONNULL_END
